package com.leoren.run.vo;

/**
 * 经过点实体类
 */
public class WayPoint {

    private Long id;

    private Long mapId;

    private Integer count;

    private Float lng;

    private Float lat;

    @Override
    public String toString() {
        return "WayPoint{" +
                "id=" + id +
                ", mapId=" + mapId +
                ", count=" + count +
                ", lng=" + lng +
                ", lat=" + lat +
                '}';
    }

    public WayPoint() {
    }

    public WayPoint(double lng, double lat) {
        this.lng = (float)lng;
        this.lat = (float)lat;
    }

    public WayPoint(Long id, Long mapId, Integer count, Float lng, Float lat) {
        this.id = id;
        this.mapId = mapId;
        this.count = count;
        this.lng = lng;
        this.lat = lat;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMapId() {
        return mapId;
    }

    public void setMapId(Long mapId) {
        this.mapId = mapId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Float getLng() {
        return lng;
    }

    public void setLng(Float lng) {
        this.lng = lng;
    }

    public Float getLat() {
        return lat;
    }

    public void setLat(Float lat) {
        this.lat = lat;
    }
}
